<template>
  <div class="home">
    <img src="../assets/logo.png"/>
    <HelloWorld msg="这是个 vue ssr 的项目"></HelloWorld>
    <div @click="tabName">{{ name }}</div>
  </div>
</template>

<script>
import HelloWorld from '../components/HelloWorld'
export default {
  name: "home",
  data() {
    return {
      name:'柳轩'
    };
  },
  components:{
    HelloWorld
  },
  methods: {
      tabName:function(){
        alert("你点击了名字")
      }
  }
};
</script>
